
module("NetWork.Action.LoadGroupUsersAction ", package.seeall)

local NetCmdActionBase = require("NetWork.Action").NetCmdActionBase

LoadGroupUsersAction = NetCmdActionBase:new()

function LoadGroupUsersAction:Action(bytes)
    local LoadGroupUsersSm = require("Protol.groupMessage_pb").LoadGroupUsersSm()
    LoadGroupUsersSm:ParseFromString(bytes)

    if LoadGroupUsersSm.code ~= 0 then
        local UIWinMgr = require("UI.UIWinMgr").UIWinMgr
        UIWinMgr:OpenErrorNotice(LoadGroupUsersSm.code)
        return
    end
    local ClubModule = require("Module.ClubModule").ClubModule
    ClubModule.LoadGroupUsersSm(LoadGroupUsersSm)
end

require("NetWork.NetCmdSet").CmdSet[2003] = LoadGroupUsersAction --注册处理对象